module.exports = {
  base: {
    scripts: {
      'build:weapp':
        'taro gen-route && cross-env APP_TYPE=mp-weixin taro build --type weapp',
      'build:swan':
        'taro gen-route && cross-env APP_TYPE=mp-baidu taro build --type swan',
      'build:alipay':
        'taro gen-route && cross-env APP_TYPE=mp-alipay taro build --type alipay',
      'build:tt':
        'taro gen-route && cross-env APP_TYPE=mp-toutiao taro build --type tt',
      'build:qq':
        'taro gen-route && cross-env APP_TYPE=mp-qq taro build --type qq',
      'dev:weapp':
        'cross-env APP_ENV=development npm run build:weapp -- --watch',
      'dev:swan': 'cross-env APP_ENV=development npm run build:swan -- --watch',
      'dev:alipay':
        'cross-env APP_ENV=development npm run build:alipay -- --watch',
      'dev:tt': 'cross-env APP_ENV=development npm run build:tt -- --watch',
      'dev:qq': 'cross-env APP_ENV=development npm run build:qq -- --watch'
    },
    dependencies: {
      '@babel/runtime': '^7.7.7',
      '@hips/vue-core': '^1.1.4',
      '@tarojs/runtime': '3.3.20',
      '@tarojs/taro': '3.3.20',
      'taro-axios': '^1.1.1',
      'core-js': '^3.6.5',
      vue: '^2.5.0',
      'vue-template-compiler': '^2.5.0',
      'vue-router': '^3.5.3',
      vuex: '^3.6.2',
      'vue-tsx-support': '^3.2.0'
    },
    devDependencies: {
      '@babel/core': '^7.8.0',
      '@tarojs/mini-runner': '3.3.20',
      '@tarojs/webpack-runner': '3.3.20',
      'babel-preset-taro': '3.3.20',
      'cross-env': '^7.0.3',
      eslint: '^8.0.0',
      'eslint-config-taro': '3.3.20',
      'eslint-plugin-vue': '^8.0.0',
      stylelint: '9.3.0',
      'vue-loader': '^15.9.2',
      'babel-plugin-import': '^1.13.3'
    }
  },
  lowcode: {
    scripts: {
      'preview:weapp':
        'cross-env APP_ENV=testing npm run build:weapp -- --watch',
      'preview:swan': 'cross-env APP_ENV=testing npm run build:swan -- --watch',
      'preview:alipay':
        'cross-env APP_ENV=testing npm run build:alipay -- --watch',
      'preview:tt': 'cross-env APP_ENV=testing npm run build:tt -- --watch',
      'preview:qq': 'cross-env APP_ENV=testing npm run build:qq -- --watch'
    },
    dependencies: {
      '@hips/taro-ui': '^1.0.0',
      '@feida/core': '^1.1.4',
      '@feida/plugin-taro-render': '^1.0.0',
      '@hips/plugin-dataset-vuex': '^1.1.9',
      '@hipsfe/plugin-taro-jssdk': '^1.0.1'
    },
    devDependencies: {
      '@hips/taro-plugin-ace': '^1.0.1',
      '@hips/taro-plugin-dataset': '^1.0.1'
    }
  }
}
